home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3c / l3tol.z / l3tol
Encoding:
Text File  |  1998-10-20  |  2.2 KB  |  67 lines

  1.  
  2.  
  3.  
  4. llll3333ttttoooollll((((3333CCCC))))                                                            llll3333ttttoooollll((((3333CCCC))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _llll_3333_tttt_oooo_llll, _llll_tttt_oooo_llll_3333 - convert between 3-byte integers and long integers
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _####_iiii_nnnn_cccc_llll_uuuu_dddd_eeee _<<<<_ssss_tttt_dddd_llll_iiii_bbbb_...._hhhh_>>>>
  13.  
  14.      _vvvv_oooo_iiii_dddd _llll_3333_tttt_oooo_llll _((((_llll_oooo_nnnn_gggg _****_llll_pppp_,,,, _cccc_oooo_nnnn_ssss_tttt _cccc_hhhh_aaaa_rrrr _****_cccc_pppp_,,,, _iiii_nnnn_tttt _nnnn_))))_;;;;
  15.  
  16.      _vvvv_oooo_iiii_dddd _llll_tttt_oooo_llll_3333 _((((_cccc_hhhh_aaaa_rrrr _****_cccc_pppp_,,,, _cccc_oooo_nnnn_ssss_tttt _llll_oooo_nnnn_gggg _****_llll_pppp_,,,, _iiii_nnnn_tttt _nnnn_))))_;;;;
  17.  
  18. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  19.      _llll_3333_tttt_oooo_llll converts a list of _n three-byte integers packed into a character
  20.      string pointed to by _c_p into a list of long integers pointed to by _l_p.
  21.  
  22.      _llll_tttt_oooo_llll_3333 performs the reverse conversion from long integers (_l_p) to three-
  23.      byte integers (_c_p).
  24.  
  25.      These functions are useful for file-system maintenance where the block
  26.      numbers are three bytes long.
  27.  
  28. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  29.      _ffff_ssss(4).
  30.  
  31. NNNNOOOOTTTTEEEESSSS
  32.      Because of possible differences in byte ordering, the numerical values of
  33.      the long integers are machine-dependent.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.